Skip to content

Use the any alias instead of interface{} - #51

Merged
MPV merged 1 commit into
masterfrom
claude/idiomatic-any
Jul 24, 2026
Merged

Use the any alias instead of interface{}#51
MPV merged 1 commit into
masterfrom
claude/idiomatic-any

Conversation

@MPV

@MPV MPV commented Jul 23, 2026

Copy link
Copy Markdown
Owner

What

Replace interface{} with any in the k8s package (GetPodSpec, GetContainersFromObject, and the test tables).

Why

any has been the idiomatic spelling of interface{} since Go 1.18; the module targets Go 1.24.

Behavior change

None — purely cosmetic. Standalone, no overlap with other PRs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Pc6NAURAqjU4LYJx93tgSC


Generated by Claude Code

any has been the idiomatic spelling of interface{} since Go 1.18; the
module targets Go 1.24. Purely cosmetic, no behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pc6NAURAqjU4LYJx93tgSC
@MPV
MPV force-pushed the claude/idiomatic-any branch from 91e7c2b to 1edef2f Compare July 23, 2026 08:25
@MPV
MPV merged commit 86a0d74 into master Jul 24, 2026
1 check passed
@MPV
MPV deleted the claude/idiomatic-any branch July 24, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants